window.onresize = function(event) {
    $("#logosPromo").find('object').each(function(){
        if ($(this).height() > 0.1*$( window ).height()) {
            $(this).css("width","");
            $(this).css("height","20vh");
        }
        if ($(this).width() > 0.1*$( window ).width()) {
            $(this).css("height","");
            $(this).css("width","10vw");
        }
    });
};
				